﻿<%@ Page Title="" Language="C#" MasterPageFile="~/View/Main.Master" AutoEventWireup="true" CodeBehind="BrowseCatalogue.aspx.cs" Inherits="ArtClub.BrowseCatalogue" %>

<asp:Content ID="MainMenu" ContentPlaceHolderID="MainMenu" runat="server">
    <li><a href="BrowseCatalogue.aspx">Art Pieces</a>
    </li>
    <li><a href="BiddingInfoPage.aspx">Pieces for Bidding</a>
    </li>
    <li><a href="ChangeSystemDatePage.aspx">Subscription</a>
    </li>
    <li><a href="BiddingRecordPage.aspx">Bidding Record</a></li>
</asp:Content>

<asp:Content ID="PageName" ContentPlaceHolderID="PageName" runat="server">
    Catalogue 
</asp:Content>

<asp:Content ID="Submenu" ContentPlaceHolderID="Submenu" runat="server">
    <a href="AddPieces.aspx" class="list-group-item">Add an art piece</a>
<%--        <a href="BiddingRecordPage.aspx" class="list-group-item">Bidding Record</a>--%>
</asp:Content>


<asp:Content ID="MainContent" ContentPlaceHolderID="MainContent" runat="server">

    <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound1">
        <ItemTemplate>
            <div class="col-md-4 firstProduct">
                <a href="ShowProductDescription.aspx?id=<%#Eval("id")%>"><asp:Image ID="imgPiece" runat="server" /></a>
                         <asp:Label ID="Label3" runat="server"><%#Eval("name")%></asp:Label>
                        <br />
                           <asp:Label ID="Label5" runat="server"><%#Eval("artist")%></asp:Label>
                           <br />
                           <asp:Label ID="Label6" runat="server"> <%#Eval("type")%></asp:Label>
             </div>
        </ItemTemplate>
    </asp:Repeater>
    <div style="text-align: center" runat="server" id="divEmpty" visible="false">
        <h1>No result found for your search!</h1>
    </div>

</asp:Content>
